<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<script type="text/javascript">
	$(document).ready(function(){
		$("#housing_initial").addClass("active");
	});
</script>
<section class=""></section>
<section class="content">
	<div class="box">
		<div class="box-body">
		<sf:form servletRelativeAction="/housing/do_check_in" modelAttribute="tenant" method="post" acceptCharset="UTF-8">
			<sf:hidden path="id"/>
			<div class="form-group">
				<sf:label path="username">租客姓名:</sf:label>
				<div>
					<sf:input path="username" cssClass="form-control"/>
					<sf:errors path="username"/>
				</div>
			</div>
			<div class="form-group">
				<sf:label path="identityNumber">身份证号码：</sf:label>
				<div>
					<sf:input path="identityNumber" cssClass="form-control"/>
					<sf:errors path="identityNumber" />
				</div>
			</div>
			<div class="form-group">
				<sf:label path="phone">联系电话</sf:label>
				<div>
					<sf:input path="phone" cssClass="form-control"/>
					<sf:errors path="phone"/>
				</div>
			</div>
			<div>
				<button type="submit" class="btn btn-primary">入住</button>
			</div>
		</sf:form>
		</div>
	</div>
</section>

